package com.medical.app.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;

/**
 * 就诊卡表
 */
@Data
@TableName(value = "mar_patient_card")
public class PatientCard {
    /**
     * 卡id
     */
    @TableId(value = "patient_card_num", type = IdType.AUTO)
    private Integer patientCardNum;

    /**
     * 余额
     */
    @TableField(value = "balance")
    private Integer balance;

    /**
     * 状态
     */
    @TableField(value = "`state`")
    private Integer state;

    /**
     * 创建时间
     */
    @TableField(value = "creat_date")
    private Date creatDate;

    public static final String COL_PATIENT_CARD_NUM = "patient_card_num";

    public static final String COL_BALANCE = "balance";

    public static final String COL_STATE = "state";

    public static final String COL_CREAT_DATE = "creat_date";
}